package cn.com.inossem.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class SkillsInfoBean implements Parcelable, Serializable {
	/**
	 * 技能id
	 */
	private int skillID;
	/**
	 * 等级ID
	 */
	private int level;
	/**
	 * 是否有pa认证 1有 0没有
	 */
	private String isPa = "0";

	private String name;

	private int isselected;

	public SkillsInfoBean() {

	}

	public int getSkillID() {
		return skillID;
	}

	public void setSkillID(int skillID) {
		this.skillID = skillID;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getIsPa() {
		return isPa;
	}

	public void setIsPa(String isPa) {
		this.isPa = isPa;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIsselected() {
		return isselected;
	}

	public void setIsselected(int isselected) {
		this.isselected = isselected;
	}

	private SkillsInfoBean(Parcel in) {

		skillID = in.readInt();
		level = in.readInt();
		isPa = in.readString();

	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(skillID);
		dest.writeInt(level);
		dest.writeString(isPa);
	}

	public static final Parcelable.Creator<SkillsInfoBean> CREATOR = new Parcelable.Creator<SkillsInfoBean>() {
		public SkillsInfoBean createFromParcel(Parcel in) {
			return new SkillsInfoBean(in);
		}

		public SkillsInfoBean[] newArray(int size) {
			return new SkillsInfoBean[size];
		}
	};

}
